xen: arm32: don't force the compiler to allocate a dummy register
authorIan Campbell <ian.campbell@citrix.com>
Thu, 3 Apr 2014 08:59:43 +0000 (09:59 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 3 Apr 2014 16:15:41 +0000 (17:15 +0100)
commit3bd940bead554573c3a11d6c2fbcefaccc6c57e6
tree0d6f4fe66c7094e4adaefb9634aee95702f98671
parent965bdbf4b6da3fdfcc7dd4d53a859dad8a7c6115
xen: arm32: don't force the compiler to allocate a dummy register

TLBIALLH, ICIALLU and BPIALL make no use of their register argument. Instead
of making the compiler allocate a dummy register just hardcode r0, there is no
need to represent this in the inline asm since the register is neither
clobbered nor used in any way.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/include/asm-arm/arm32/page.h
xen/include/asm-arm/arm32/processor.h